package cae.gui.util;

import java.awt.Component;

import javax.swing.JOptionPane;

public class CaeAlert {

	public static void error(String msg, Component parent)
	{
		JOptionPane.showMessageDialog(parent, 
				msg, 
				"Error", JOptionPane.ERROR_MESSAGE);
	}
	
	public static void info(String msg, Component parent)
	{
		JOptionPane.showMessageDialog(parent, 
				msg, 
				"Info", JOptionPane.INFORMATION_MESSAGE);
	}
}
